const TOKEN_KEY = 'token';
const ROLE_KEY = 'role';

export function getToken() {
  return localStorage.getItem(TOKEN_KEY);
}

export function setToken(token) {
  return localStorage.setItem(TOKEN_KEY, token);
}


export function removeToken() {
  return localStorage.removeItem(TOKEN_KEY);
}

export function setRouterId(role) {
  return localStorage.setItem(ROLE_KEY, role);
}



export function getRouterId() {
  return localStorage.getItem(ROLE_KEY);
}




